<ul id="menu_data_ul">
	<?php foreach($sub as $v):?>
	<li><input type="checkbox" <?php if(!empty($menu_data[$v['id']])):?> checked="checked"<?php endif;?> onclick="add_menu('<?php echo $v['acl_name'];?>','<?php echo site_url().$v['acl_value'];?>',<?php echo $v['id']?>)" /> <?php echo $v['acl_name'];?></li>
    <?php endforeach;?>
</ul>
 
<style>
#menu_data_ul {
	width:600px;}
#menu_data_ul li{
	width:100px;
	height:30px;
	line-height:30px;
	float:left;
	}

</style>
